home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / PowerPlant / AGA Slider 1.0 / Sources / CSliderDemoWindow.h < prev    next >
Encoding:
Text File  |  1996-06-25  |  602 b   |  25 lines  |  [TEXT/CWIE]

  1. //
  2. //    CSliderDemoWindow.h
  3. //
  4.  
  5. #pragma once
  6.  
  7. #include <LWindow.h>
  8. #include <LListener.h>
  9.  
  10. class CSliderDemoWindow : public LWindow, LListener {
  11. public:
  12.     enum { class_ID = 'Demo' };
  13.     static CSliderDemoWindow*    CreateSliderDemoWindowStream(LStream *inStream);
  14.     static    void    Register(void)
  15.         {     URegistrar::RegisterClass(CSliderDemoWindow::class_ID,    
  16.             (ClassCreatorFunc) CSliderDemoWindow::CreateSliderDemoWindowStream);  }
  17.     
  18.             CSliderDemoWindow(LStream *inStream);
  19.     
  20.     virtual void    ListenToMessage(
  21.                             MessageT        inMessage,
  22.                             void            *ioParam);
  23.     virtual void    DoSliderEnable( Boolean inEnable );
  24. };
  25.